package com.sjy.project.fym.apply.service;

import java.util.List;

import com.sjy.common.entity.SecuryUserDetail;
import com.sjy.project.fym.apply.domain.FyGoods;
import com.sjy.project.fym.apply.domain.FyGoodsApply;

/**
 * 防疫物资申请Service接口
 * 
 * @author ljb
 * @date 2022-04-21
 */
public interface IFyGoodsApplyService 
{
    /**
     * 查询防疫物资申请
     * 
     * @param applyId 防疫物资申请主键
     * @return 防疫物资申请
     */
    public FyGoodsApply selectFyGoodsApplyByApplyId(Long applyId);

    /**
     * 查询防疫物资申请列表
     * 
     * @param fyGoodsApply 防疫物资申请
     * @return 防疫物资申请集合
     */
    public List<FyGoodsApply> selectFyGoodsApplyList(FyGoodsApply fyGoodsApply);

    /**
     * 新增防疫物资申请
     * 
     * @param fyGoodsApply 防疫物资申请
     * @return 结果
     */
    public int insertFyGoodsApply(FyGoodsApply fyGoodsApply);

    /**
     * 修改防疫物资申请
     * 
     * @param fyGoodsApply 防疫物资申请
     * @return 结果
     */
    public int updateFyGoodsApply(FyGoodsApply fyGoodsApply);

    /**
     * 批量删除防疫物资申请
     * 
     * @param applyIds 需要删除的防疫物资申请主键集合
     * @return 结果
     */
    public int deleteFyGoodsApplyByApplyIds(String applyIds);

    /**
     * 删除防疫物资申请信息
     * 
     * @param applyId 防疫物资申请主键
     * @return 结果
     */
    public int deleteFyGoodsApplyByApplyId(Long applyId);
    
    /**
     * 申报物资第一步操作
     * @param fyGoods
     * @return
     */
    public boolean firstApply(SecuryUserDetail user,List<FyGoods> fyGoods);
}
